package com.ruoyi.vim.mapper;

import java.util.List;

import com.ruoyi.api.vo.User;
import com.ruoyi.api.vo.Usertest;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.vim.domain.ImFriend;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 好友Mapper接口
 * 
 * @author ruoyi
 * @since 2022-02-03
 */
public interface ImFriendMapper extends BaseMapper<ImFriend>
{

    void inserts(@Param("im") ImFriend imFriend);

    ImFriend selectfriends(Long valueOf, Long userId);

    List<SysUser> getAllUser();

    void updates(ImFriend imFriend);

    List<User> getUserFriends(String userId, String state);

    List<Long> selectfriend(Long userId);

}
